package com.hk.aefz.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 网站通用标签
 * </p>
 *
 * @author 阿尔法哲
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Label对象", description="网站通用标签")
public class Label implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "bid", type = IdType.AUTO)
    private Integer bid;

    @ApiModelProperty(value = "标签名称")
    private String bname;

    @ApiModelProperty(value = "标签描述")
    private String bdescribe;

    @ApiModelProperty(value = "标签百科详情")
    private String burl;

    @ApiModelProperty(value = "关联分类id")
    private Integer cid;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT,exist = false)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE,exist = false)
    private Date gmtModified;


}
